﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;

namespace internal_website.Models
{
    public class Calendar : ICalendar
    {
        #region Constructor

        public Calendar()
        {
            Events = new Collection<Event>();
        }

        #endregion

        [Key]
        public int Id { get; set; }
        public bool Active { get; set; }
        
        #region Navigation properties

        public virtual ICollection<Event> Events { get; set; }

        #endregion

    }
}